--[[ Rothar for ButtonFacade ]]

local LibButtonFacade = LibStub("LibButtonFacade",true)
if not LibButtonFacade then
	return
end

LibButtonFacade:AddSkin("Rothar",{

	-- Skin data start.
	Backdrop = {
		Width = 32,
		Height = 32,
		Color = {1, 1, 1, 1},
		Texture = [[Interface\AddOns\CWDGMediaPack\ButtonSkins\Rothar\Textures\backdrop]],
	},
	Icon = {
		Width = 28,
		Height = 28,
		TexCoords = {0.07,0.93,0.07,0.93}, -- Keeps the icon from showing its "silvery" edges.
	},
	Border = {
		Width = 30,
		Height = 30,
		Color = {0.34, 0.83, 0.01, 1},
		Texture = [[Interface\AddOns\CWDGMediaPack\ButtonSkins\Rothar\Textures\white]],
		BlendMode = "ADD",
	},
	Flash = {
		Width = 32,
		Height = 32,
		Color = {1, 0.8, 0, 1},
		Texture = [[Interface\AddOns\CWDGMediaPack\ButtonSkins\Rothar\Textures\white]],
		BlendMode = "ADD",
	},
	Cooldown = {
		Width = 28,
		Height = 28,
	},
	AutoCast = {
		Width = 28,
		Height = 28,
--		ModelScale = 0.8,
		OffsetX = 1,
		OffsetY = -1,
		AboveNormal = true;
	},
	AutoCastable = {
		Width = 28,
		Height = 28,
		Color = {1, 0, 0, 1},
		Texture = [[Interface\Buttons\UI-AutoCastableOverlay]],
		BlendMode = "ADD",
	},
	Normal = {
		Width = 32,
		Height = 32,
		Static = true,
		Color = {1, 1, 1, 1},
		Texture = [[Interface\AddOns\CWDGMediaPack\ButtonSkins\Rothar\Textures\overlay]],
	},
	Pushed = {
		Width = 30,
		Height = 30,
		Color = {1, 1, 1, 1},
		Texture = [[Interface\AddOns\CWDGMediaPack\ButtonSkins\Rothar\Textures\pushed]],
		BlendMode = "BLEND",
	},
	Disabled = {
		Hide = true,
	},
	Checked = {
		Width = 30,
		Height = 30,
		Color = {1, 0.8, 0, 1},
		Texture = [[Interface\AddOns\CWDGMediaPack\ButtonSkins\Rothar\Textures\white]],
		BlendMode = "ADD",
	},
	Gloss = {
		Hide = true
	},
	Highlight = {
		Width = 30,
		Height = 30,
		Color = {1, 1, 1, 1},
		Texture = [[Interface\AddOns\CWDGMediaPack\ButtonSkins\Rothar\Textures\hover]],
		BlendMode = "ADD",
	},
	HotKey = {
		Width = 32,
		Height = 10,
		OffsetX = -2,
		OffsetY = 0,
	},
	Count = {
		Width = 30,
		Height = 10,
		OffsetX = -1,
		OffsetY = -6,
	},
	Name = {
		Width = 30,
		Height = 10,
		OffsetY = -5,
	},
	-- Skin data end.

},true)
